home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 4.iso / dist / motif21_dev.idb / usr / Motif-2.1 / include / Xm / DrawingAP.h.z / DrawingAP.h
C/C++ Source or Header  |  2002-10-15  |  2KB  |  106 lines

  1. /* 
  2.  *  @OSF_COPYRIGHT@
  3.  *  COPYRIGHT NOTICE
  4.  *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
  5.  *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
  6.  *  the full copyright text.
  7. */ 
  8. /* 
  9.  * HISTORY
  10. */ 
  11. /*   $XConsortium: DrawingAP.h /main/13 1996/04/01 15:22:11 daniel $ */
  12. /*
  13. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  14. #ifndef _XmDrawingAreaP_h
  15. #define _XmDrawingAreaP_h
  16.  
  17. #include <Xm/ManagerP.h>
  18. #include <Xm/DrawingA.h>
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24. #define XmRESIZE_SWINDOW    10
  25.  
  26.  
  27. /* Constraint part record for DrawingArea widget */
  28.  
  29. typedef struct _XmDrawingAreaConstraintPart
  30. {
  31.    char unused;
  32. } XmDrawingAreaConstraintPart, * XmDrawingAreaConstraint;
  33.  
  34. /*  New fields for the DrawingArea widget class record  */
  35.  
  36. typedef struct
  37. {
  38.    XtPointer extension;   /* Pointer to extension record */
  39.  
  40. #ifdef _SGIMOTIF
  41.     XtPointer _SG_vendorExtension;
  42. #endif    
  43. } XmDrawingAreaClassPart;
  44.  
  45.  
  46. /* Full class record declaration */
  47.  
  48. typedef struct _XmDrawingAreaClassRec
  49. {
  50.   CoreClassPart        core_class;
  51.   CompositeClassPart    composite_class;
  52.   ConstraintClassPart    constraint_class;
  53.   XmManagerClassPart    manager_class;
  54.   XmDrawingAreaClassPart    drawing_area_class;
  55. } XmDrawingAreaClassRec;
  56.  
  57. externalref XmDrawingAreaClassRec xmDrawingAreaClassRec;
  58.  
  59.  
  60. /* New fields for the DrawingArea widget record */
  61.  
  62. typedef struct
  63. {
  64.   Dimension        margin_width;
  65.   Dimension        margin_height;
  66.  
  67.   XtCallbackList    resize_callback;
  68.   XtCallbackList    expose_callback;
  69.   XtCallbackList    input_callback;
  70.  
  71.   unsigned char        resize_policy;
  72.  
  73. #ifdef _SGIMOTIF
  74.     XtPointer _SG_vendorExtension;
  75. #endif    
  76.   
  77. #ifndef XM_PART_BC
  78.   XtCallbackList    convert_callback;
  79.   XtCallbackList    destination_callback;
  80. #endif
  81. } XmDrawingAreaPart;
  82.  
  83.  
  84. /****************************************************************
  85.  *
  86.  * Full instance record declaration
  87.  *
  88.  ****************************************************************/
  89.  
  90. typedef struct _XmDrawingAreaRec
  91. {
  92.   CorePart        core;
  93.   CompositePart        composite;
  94.   ConstraintPart    constraint;
  95.   XmManagerPart        manager;
  96.   XmDrawingAreaPart    drawing_area;
  97. } XmDrawingAreaRec;
  98.  
  99.  
  100. #ifdef __cplusplus
  101. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  102. #endif
  103.  
  104. #endif /* _XmDrawingAreaP_h */
  105. /* DON'T ADD ANYTHING AFTER THIS #endif */
  106.